<template>
    <div>
        department
    </div>
</template>

<script>
    export default {
        name: 'VueElementAdminIndex',

        data() {
            return {
                nation: [],
                sex: [],
                edu: []
            };
        },

        mounted() {
            this.nation = this.$options.filters.getDicByType("民族").map(m => {
                return {
                    dicName: 'm.dicName',
                    dicVal: 'm.dicValue'
                };
            });
            this.sex = this.$options.filters.getDicByType("性别");
            this.edu = this.$options.filters.getDicByType("学历");

            console.log(this.nation);
            console.log(this.sex);
            console.log(this.edu);
        },

        methods: {

        },
    };
</script>